package de.tudarmstadt.fgbs.cafe.structure.enumeration;

/**
 * The possible error codes if something in a plugin call goes wrong
 * 
 * @author Christian Schlehuber
 * 
 */
public enum PluginErrorCode {
    /**
     * The permission to perform a requested action was denied.
     */
    PERMISSION_DENIED,
    /**
     * The entity or object, that was tried to access could not be found.
     */
    NOT_FOUND,
    /**
     * The contacted service is unavailable.
     */
    SERVICE_UNAVAILABLE,
    /**
     * An error occured, that should not occur normally. This probably happened
     * due to a wrong implementation.
     */
    BAD_IMPLEMENTATION,
    /**
     * The key used to authenticate was not accepted.
     */
    BAD_KEY,
    /**
     * The configuration is flawed.
     */
    BAD_CONFIG,
    /**
     * An internal error occured.
     */
    INTERNAL_ERROR,
    /**
     * The reason for the error is completely unknown.
     */
    UNKNOWN,
    /**
     * The feature that was tried to be used is not implemented.
     */
    NOT_IMPLEMENTED,
    /**
     * A restriction of the used platform does not allow the requested action.
     */
    PLUGIN_RESTRICTION,
    /**
     * A connection, that was necessary to perform the action was lost.
     */
    CONNECTION_LOST
}
